include ../common.mk

renderers.a: clock.o mail.o download.o build.o news.o
	ar cr renderers.a clock.o mail.o download.o build.o news.o

clock.o: clock.c clock.h
	$(CC) $(CFLAGS) -c clock.c -o clock.o

mail.o: mail.c mail.h
	$(CC) $(CFLAGS) -c mail.c -o mail.o

download.o: download.c download.h
	$(CC) $(CFLAGS) -c download.c -o download.o

build.o: build.c build.h
	$(CC) $(CFLAGS) -c build.c -o build.o

news.o: news.c news.h
	$(CC) $(CFLAGS) -c news.c -o news.o

.PHONY: clean

clean:
	rm -f *.o renderers.a
